Iran’s place in the finals had been in doubt following air strikes launched by the US and Israel against the country