Israel’s military announced Sunday it had withdrawn its forces from the southern Gaza city of Khan Younis, wrapping up a key phase in its ground offensive against the Hamas militant group and bringing its troop presence in the territory to one of the lowest levels since the six-month war began.