[DomCrawler]  Fix memory leak with filter method 

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10879
| License       | MIT
| Doc PR        | no

Add a public method `destroy` on Translator to reset properties and free memory
relyinbg on the garbage collector would indeed be better (calling ``destroy`` on a translator puts it in a non-working state, so I would prefer avoiding to add it in the API)