Don't enable with-editor forever in eshell

Both `term' and `shell' have with-editor disabled when you kill their
buffer due to their local hooks. Most users are going to expect this
behavior to be the same for eshell, but because eshell "hooks" are
global only we need to work around it, otherwise with-editor will be
enabled forever (even when killing eshell).