After the end of the Cold War, European military spending told a story of stability and optimism. Money flowed away from tanks and submarines and went instead to hospitals and pensions.