An insider said disputes over state-backed projects and political networks linked to Li Qiang and Cai Qi contributed to the Shanghai Party chief’s removal.