Israel’s military said Saturday that eight soldiers were killed in southern Gaza in the deadliest attack on Israeli forces in months.