Separate cost model (RelOptCostFactory) from planner.