HPCC-10544 Add debug code for tracking unique expression instances

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>