Fix bug #41712: merge rests will not combine with hiding unused staffs
Create command for hiding multi-measure rest number