The US president reiterated that the deal with Iran stipulates that Tehran will give up nuclear weapons