Taiwan president quits as party head