Iteratively run a callback against matched elements in groups of i