As lawmakers raced to secure a funding deal that would keep the U.S. government open, Washington and its federal work force braced for a potentially disruptive holiday season.