PR9450: Make switch optimization in SimplifyCFG not dependent on the ordering