Erdogan to retain party ties post official poll result