It's really a relatively simple issue of forcing a bureaucracy to stay away from pursuing its natural path and interest and forcing it to focus on its mission.

The mechanics and psychology of bureaucracy are quite well-understood, all it takes to force it on a better course than its default autopilot is leadership.

Then again, in war and bureaucracy all simple things are difficult.