HPCC-9592 Generate a simpler graph for IF(cond, <EMPTY>, ds)

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