umount.nfs: Refactor remount logic in umount.nfs