fix #222031: remove ties and spanners when removing induvidual notes within a chord #3564
In the current version of MuseScore removing individual notes within a chord behaves differently compared to removing the whole chord. While this can be a little surprising from the user's point of view, such a behavior may also lead to crashes like the one described in this bug report.
This pull request is aimed to handle individual notes removal in a way more similar to the case of removal of the whole chord, i.e. remove properly ties and spanners connected to the note being removed and restore the correct previous configuration when undoing the removal.