The conflict underscored the distance between world powers over the United States’ pressure campaign on Iran.