The U.S. president threatened to “eradicate” any attempt by Tehran to rebuild its nuclear program or ballistic missile arsenal following U.S. and Israeli strikes earlier this year.