fixed bug in Mojolicious::Routes::Pattern where optional placeholders in nested routes would sometimes not work correctly (closes #709)