Fix wrong answer in serial aggregation over inline varchar column by
calling allocateObjectFromInlinedValue in MaxAgg and MinAgg.

(cherry picked from commit f65459335e96a31b7c1e44ad421ea94654e44cc4)
Per Paul's review comments: revert emacs auto-indent, remove meaningless order by clause

(cherry picked from commit 39310fce0ad2f769d73b8fb8bf74c6dc02925c7a)
Add regression test for hash aggregation.

(cherry picked from commit a01c78d90bd443e4c36622a32b1594ee05f900a4)
Refactor the in bytes flag for inline varchar on TVE expression

(cherry picked from commit 86d9da06d7b37e9c5f4425f9c69de746373c45b0)