The Israeli military said three soldiers had been killed in combat in southern Gaza on Wednesday, as it pressed ahead with its offensive in Rafah.