Chinese shares advanced following a regulatory change designed to loosen the grip of retail investors on stocks in Shanghai and Shenzhen.