Implement min_by aggregation function

Fix https://github.com/facebook/presto/issues/1953