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

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_APAGE_INDEX.

refs SERVER-16546