fix #12138: deletion of measures with parts causes corruption. Do not insert frames in parts/score