Taiwan President Tsai Ing-wen resigns as head of ruling Democratic Progressive Party following local election losses