XWIKI-11353: Can't see separators on Menu with both skins
* Remove BR from empty LIs that are ment to be separators.

(cherry picked from commit 4e321ad1b04d344d417e5b10be9e535d338e1573)