[Concept] [PATCH 03/16] pickman: Refactor do_next_merges() into smaller helpers