Remove non-interactive use of goto-line, refs #737