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