Allow tail call optimization in repl, clear arguments to undefined when tail calling