Boehner, Reid reach tentative deal to avoid govern