The legislation would provide a 3.8 percent pay raise for American troops, while funding weapons and overhauling military procurement.