[3.18] `navigate()` falls through to window.location on no matching route.

Per previous conversations with @ericf.
If this looks like an acceptable solution, I can add tests.

/cc @pdokas @jeremyruppel