Chinese Taipei edge nine-goal thriller