Futures point to a triple-digit gain for the Dow after tentative deal to avoid government shutdown