Update pre-remove.sh

Add code to regenerate grub menu after setting beforepkgdemon as the default boot environment.