Turkey’s president addressed tens of thousands of people Saturday at a ceremony marking the first anniversary of the country’s crushed military coup, vowing to “rip the heads off” of terror groups and of the coup-plotters who tried to end his more than a decade-long rule.