In a building next to the hospital, the military said Friday, it had discovered the body of a second hostage taken by Hamas, Noa Marciano, 19, who had been a corporal in the Israeli army. The military also announced that it had killed “Hamas terrorists” found hiding in a school. In order to enter Gaza, two reporters and a photographer for the Times were obliged to remain with Israeli troops for the duration of the visit.