Israel has killed at least 39 Palestinians and wounded dozens after attacking a school