Taiwan President Tsai Ing-wen said on Saturday she was resigning as chairwoman of the ruling Democratic Progressive Party after mayoral election defeats.