Commas sometimes perform a critical function in determining what the writer means by what they have written. But sometimes commas are there to indicate that if the words were spoken with the intended meaning then there would be a pause at that point. In such cases, omitting the comma does not actually change the meaning but might mislead the reader, for a moment, in trying to understand what the writer intended.
In this case, any native speaker of English would certainly pause after the word 'eliminated'. It is therefore helpful to the reader to insert a comma after that word.
No comma would be needed if the sentence was slightly reworded: '...eliminated to ensure that nothing...', because in that case there would be no pause in the spoken sentence after 'eliminated'.