erp5_web_renderjs_ui: router: do not crash when navigating back to an hidden view

Some erp5 view action use a TALES expression to be visible only in draft state.
When validation a workflow transition dialog, ERP5JS tries to go back to the previous view which is now hidden.

In such case, switch back to the default document view.
6 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds