Which solitaire game is this?
This is very similar to a game called "Perpetual Motion" -- the rules from Wikipedia specify gathering same-ranked cards to the left, and only allow for eliminating groups of cards if the four of a rank are dealt out to the four piles as part of a single deal.  They seem similarly unclear as to which pile should end up on top of the new stack.