HPCC-9848 Optimize fields after resourcing child graphs

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