Taiwan's President Tsai Ing-Wen has now quit as the Democrat Progressive Party's chief after the drubbing that her party got in the local elections.