HPCC-10381 Add a targetIndex to the edges for action "inputs"

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #5123 from ghalliday/issue10381

HPCC-10381 Add a targetIndex to the edges for action "inputs"

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>