be_rename: Undo the rename if regenerating the boot menu fails
Currently, if regenerating the boot menu fails, an error is returned, but the BE has the new name. This means that, if the user chooses this BE (the old name) when booting, that wouldn't work.
This would also happen in illumos (if re-adding the menu entry to the boot menu fails).