Fix uniq/uniq! with block for array slices

Avoid adjusting for slice offset twice.

Probably fixes #1434