Pentagon’s 1st software chief quits, says China has already won global tech war