One piece of uncertainty hanging over Wall Street may be clearing after the Senate made moves to prevent a possible partial shutdown of the U.S. government. A deadline is looming at midnight for it.