Some ants isolate themselves when they are close to death, which prevents infectious diseases from wiping out the entire colony. [1]
I think in this case forcibly ejecting the injured ant could lead to more injuries of otherwise healthy ants.
[1]: https://www.sciencedirect.com/science/article/pii/S096098220...