HPCC-9861 Fix ECL regeneration of functions with multiple calls.

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