* lisp/simple.el (newline): Add assertions to try and help catch bug#18913.