An Israeli and U.S. attack across Iran has killed at least 40 people at a girls’ school and triggered Iranian retaliation across the region.