Fix for translating flatzinc where the output variables are indices of a var array.
Fix for translating flatzinc where the output variables are indices of a var array.

eomahony/Numberjack,eomahony/Numberjack,JElchison/Numberjack,eomahony/Numberjack,JElchison/Numberjack,JElchison/Numberjack,JElchison/Numberjack,eomahony/Numberjack,eomahony/Numberjack,JElchison/Numberjack