fix #18798: stems/rests not reset on undo exchange voices
Merge pull request #1390 from MarcSabatella/18798-undo-exchange

fix #18798: stems/rests not reset on undo exchange voices