SERVER-15125 refactor IXSCAN stage to avoid doing too much in one work() cycle