Scaling ethnic segregation: causal processes and contingent outcomes in Chinese residential patterns