pub fn consolidate(pairs: &[CandidatePair], config: &MaximalConfig) -> RegionSetExpand description
Fold statement-window seed matches into maximal shared runs.
Subtree seeds are ignored: a subtree is a tree region, not a run of sibling statements, so it has no adjacency to grow along. It still does its job upstream, where it proposes the unit pair.
The result is a pure function of the input.