China’s Xi moves to take more direct command over military