Army to cut 40,000 troops over 2 years at U.S. bases