undo non-improvement to Max, Min, and Nearest

These changes didn’t result in a performance improvement.  Rolling them
back.