Move dsl/infer_struct -> dsl/lib/structure.