exit on ctrl+D

Call do_safe_quit in interpreter_ex if readline returned <eof>.