[ENH] tris selection

cc @Eric89GXL @dgwakeman @agramfort 

will share a validation example soon.
how about

if np.max(tris) != len(np.unique(tris)):

?

also to me if you start the function with

tris_ = np.searchsorted(tris, np.unique(tris))

it should do the job.