Foreign criminals removed in September had received combined prison sentences of more than 337 years.