[Hackday][FrameworkBundle] RedirectController::redirect preserve query params #9242

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9242
| License       | MIT
| Doc PR        | n/a

Changed RedirectController::redirect to preserve query parameters. This behaviour is consistent with RedirectController::urlRedirect
Rather than merging `$expectedAttributes` with `$queryParams`, the `$expectedAttributes` should already contain all the expected attributes. This way it's easier to follow both test, and the provider data. Also, we should avoid any calculations in tests.