Fix EZP-23282: Solr returns wrong results after object language deletion

Link: https://jira.ez.no/browse/EZP-23282

## Description
When deleting the translation of an object, the solr index is not updated.

## Tests
Manual tests
said in phpdoc that languages will be an array of string, in which case can be a eZContentLanguage object?