ANKARA, Turkey (AP) — Turkey's prime minister formally submitted his resignation on Sunday, paving the way for his replacement by a trusted ally of President Recep Tayyip Erdogan who immediately expressed allegiance to the Turkish leader and vowed to follow…