China defends 'anti-extremism' measures in Xinjiang as scrutiny mounts