Arab nations endorse US-Iran agreement