HPCC-8840 Internal error on STORED dictionary

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4006 from richardkchapman/dict-stored

HPCC-8840 Internal error on STORED dictionary

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>