fix #6369: Pasting repeat bar over barline corrupts measures. Also fix navigation through repeat measure, and range selection end on repeat measure
fix #34496
fix #20783: add section breaks to joined scores

and line and page breaks too...