Lawmakers announce agreement on topline spending levels, a key step to averting shutdown