Calling qcut with too many duplicates now gives an informative error

Closes #7751. 
That doesn't work. Say bins = [0,0,0,1,1,1]. We want [0,1]. (set(bins)-set(unique(bins)) gives set([]). 

Something like it should, but I can't think of it at the moment.