fix #35621: pedal endpoint in multivoice context
fix #30796: pedal endpoint on last note of score
Merge pull request #1359 from MarcSabatella/35621-pedal-voice

fixes for pedal line editing