BUG: sparse/compressed: work around bug in np.unique in earlier numpy versions
Merge pull request #3393 from pv/fix-sparse-unique

BUG: sparse/compressed: work around bug in np.unique in earlier numpy versions