Turkey's ruling party has named a loyal ally of Turkish President Recep Tayyip Erdogan as the new prime minister, as the strongman seeks to tighten his grip on power.