Investors bet on big boost to growth after agreement to increase funding for military and infrastructure