Replaces xs.zip(xs.indices) with xs.zipWithIndex