fix nested tuplets for parts and linked staves
fix #31306
fix #34416