[HttpFoundation] Add removing parameter bag in depth

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #5040
| License       | MIT

- [ ] Doc PR