Fixed REPL handling of SIGINT (^C)

Pressing ^C on a non-empty expression cancels the evaluation of that expression and begins a new line. Pressing ^C on an empty line prompts for confirmation and then quits the REPL.