Taiwan’s president urges army to shed nationalist legacy to meet China threat