The United States is close to ending its short government shutdown after lawmakers passed a funding bill in the House of Representatives.