Transform let-bound references into variables.

val eliminate_ref : Flambda.program -> Flambda.program