change `uniq` to `uniq!` as the intended operation.

Fix a typo
Merge pull request #934 from vipulnsward/change_uniq

change `uniq` to `uniq!` as the intended operation.