Hamas released seven of the hostages in front of the destroyed home of its slain leader, Yahya Sinwar, as thousands pressed in.