[ocaml] fix functions for grounding actions