remove typing from unique_inverse

I added a type constraint to `unique_inverse` unnecessarily. Removing it allows any iterator to define strata for stratified cv.