fix min/max C++ codegen
C++ fix: structural equality for DeliteStructs