Remove redundant check in REPL.jl
Avoid consecutive duplicate entries in REPL history