Western diplomats say the new agreement appears to have averted a showdown with the IAEA over Iran 's demand to exempt about 20 nuclear centrifuges from a pact reached earlier with European governments .