China has agreed to allow UN visit to Xinjiang: UN rights chief