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
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

02:21:42

passed ERP5.PerformanceTest-Master

00:23:59

failed ERP5.UnitTest-Master

04:55:13

passed ERP5.UnitTest-Master.Medusa

03:21:10

passed SlapOS.Eggs.UnitTest-Master.Python2

00:09:50

passed SlapOS.Eggs.UnitTest-Master.Python3

00:27:19