The Iranian president will attend the upcoming BRICS summit in Russia next month amid tensions with the West over military cooperation between Tehran and Moscow