Kuomintang säkrade en andra mandatperiod som borgmästare i Taipei medan Demokratiska framstegspartiet vann minst nio städer och län i lokalvalen.