An Israel airstrike in Gaza killed at least 18 people, all from the same family, on Saturday, hours after mediators expressed optimism for an imminent cease-fire deal between Israel and Hamas.