President exited Obama-led nuclear agreement with Iran after taking office in 2017