fix($route): fix redirection with optional/eager params

Previously, when (automatically) redirecting from path that fetured a trailing slash and optional or "eager" parameters, the resulting path would (incorrectly) contain the special characters (`?`,`*`) along with the parameter values.
(There is also a first (unrelated) commit, that fixes the names of 2 tests in `routeSpec`.)

Closes #9819