pub fn simplify_combination(pat: Pattern) -> Pattern
Recursively flatten same-op Group/Choice nests and collapse a singleton Group to its only member. Port of simplifyCombination.
Group
Choice
simplifyCombination