Juggling priorities, Pentagon tries to protect war funding, troops