FIX 24146 : Clefs can be dropped on whole measure

This includes empty measures with a single rest.