onLocalFilePurgeThumbnailsUrls: purge only the first thumbnail

Partial revert of fd63966949a3956882d628164c10fa97ad20dba9
Use array_slice instead
Merge pull request #3759 from Wikia/purge-only-the-first-thumb

onLocalFilePurgeThumbnailsUrls: purge only the first thumbnail