Coalesce alternations of a single type.