pkg/eval: Fix a nil pointer panic.
pkg/eval: Fix a nil pointer panic.

The preExit function is not checking whether fm.DaemonClient is nil, which
causes "exit" and "exec" to panic in non-interactive mode.

elves/elvish,elves/elvish,elves/elvish,elves/elvish,elves/elvish