Fate of China’s ex-defence heads shows party won’t allow disloyalty: state media