A reduction in military spending moves the government’s budget from deficit into surplus.