HPCC-12046 Remove unused code and extend hash tables slightly

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