Don't try to set and clear session->split_gen in WT_INTL_FOREACH

There are too many of those loops to ensure that none of them skip clearing it.  Instead, make sure all calls are wrapped in `WT_WITH_PAGE_INDEX`.

refs SERVER-16546