Move all switchPath related stuff from Repetition to Alternation.