Fix reporting of struct constructors in TR.
Change the signature for group-by.

Based on discussion with Eli.
Fix running individual optimizer tests.