If a soldier is found dead on the battlefield after the combat has ended, under what condition is their Ghusl waived?

Rulings on the Martyr: Definition, Washing, Shrouding, and Funeral Prayer