Simplify maximum and minimum position functions
Simplify maximum and minimum position functions

After performing `where` calls to get the maximum and minimum positions
over labels respectively, convert the results back to the same type used
for `indices` instead of specifying the integral type independently.

dask-image/dask-ndmeasure