ENG-5004: assign tuple idx for all TVEs in expression's args, this fixes SQL stmt containing JOIN+FUNCTION.