Chinese court sentences 8 to death for Xinjiang attacks