US President Donald Trump pulled out of the Iran nuclear deal but Europe and others say they are staying.