Fix uniq/uniq! with block for array slices

Avoid adjusting for slice offset twice.