[DROOLS-570] fix invocation of LeftTuple.getIndex in generated consequence invoker
(cherry picked from commit 2a198035907e919d15b7df44d58b699462a73be4)