A sweeping new national law signals Beijing’s decisive turn away from ethnic autonomy and toward enforced assimilation.