alg.cubing.net currently does this, but it might be nice to define certain simplifications. The most useful one:
- Coalesce adjacent
repeated-units moves with the same repeatable by adding the repetition amounts. Drop them if the amount becomes 0.
- Repeat until there are no adjacent
repeated-units with the same repeatable.
For example: F R U U2' U R2 → F R R2 → F R3