\RemoveEmptyStaffContext
has been changed to ...
\layout {
\context {
\Staff
\RemoveEmptyStaves
% To use the setting globally, uncomment the following line:
% \override VerticalAxisGroup #'remove-first = ##t
}
}
... though it remains to be seen whether
\RemoveEmptyStaffContext
is deprecated or not.