US Congress votes to restrain Trump on Iran