Beijing says the law will foster ethnic unity. Critics say it formalizes practices that suppress minority groups.