Iran's president pledges to fight terrorism after at least 25 people were killed when gunmen opened fire at a military parade