Congress has reached a funding deal just before midnight to avoid a government shutdown, setting a new March deadline with $100 billion in disaster relief and restrictions on U.S. investments in China. The bill also includes provisions for health programs.