Handle invalid sexps in cider-eval-last-sexp-and-replace