Elections blow for Erdogan as opposition retain cities and m