SI-8415 Exception handling in REPL init

Incremental robustness, and probe for typer phase.

The probe would be unnecessary if repl contributed a
terminal phase that "requires" whatever it needs; that
is checked when the Run is built.
Merge pull request #3633 from som-snytt/issue/repl-needs-typer

SI-8415 Exception handling in REPL init