The military said all six had been killed shortly before they were to be rescued by Israeli forces.