Simplify passing offset arguments to generated code

We don't need to special case on MixedMaps, since all maps are iterable
anyway.