The Dow Jones Industrial Average rebounded from losses in the previous session as a surge in oil prices helped to push stocks higher.