GAZA CITY, Gaza Strip — Israeli forces shelled the United Nations headquarters in the Gaza Strip on Thursday, setting fire to the compound filled with hundreds of refugees as U.N. chief Ban Ki-moon was in the region on a mission to end Israel's devastating offensive against the territory's Hamas rulers.