Iranian President Hassan Rouhani declared the end of the so-called Islamic State militant group Tuesday.