The incident comes as the IDF prepares to begin pilot programs allowing women to take on combat roles.