HPCC-7873 Remove call to reset a workunit which was in the wrong place
There was a call to wu->resetBeforeGeneration() which was there for the
legacy code to allow workunits to be recompiled. It should be in the
legacy code instead.
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>