More than two dozen countries say they ‘condemn in the strongest terms Iran’s use of violent attacks’