China's benchmark Shanghai Composite Index rose past 4,000 points on Tuesday for the first time since August 2015, extending recent market gains.