OCaml backend: fix tuple generation