fix #18099, handle transposing instruments when creating parts