Trump warned Iran to agree to a nuclear deal, suggesting in a social media post that retaliatory Israeli attacks will be “even more brutal.”