fix #35851 : paste a chordrest crossing the barline of an irregular meas...

...ure