bend: prevent grace notes from being erroneously beamed

The beaming problem appeared in version 2.17.28,
when automatic grace note beaming was added.
bend: change define-public to define

define-public seems to make no sense here.