The making of the Chinese state: ethnicity and expansion on the Ming borderlands