Beijing’s efforts to curb Islamist extremism are in danger of inflaming rather than quelling ethnic tensions in the region, some residents and analysts warn