Turkey's president Erdogan was angered after military graduates took a pro-secular oath, discontinued in 2022, during their graduation ceremony