Stocks surge on news of debt deal