Handle array block arity for each vs each_with_index