At least 27 people were killed when an Israeli air strike hit football players at a school-turned-shelter in southern Gaza.