The prime minister said he favoured a ‘negotiated settlement’ with Iran that stopped it from obtaining nuclear weapons