As China’s big leadership revamp nears, Xi Jinping is carrying out a military reshuffle