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

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