[ot-map] Make shaper categorizer independent of shape planner We might want to use it in the subset closure.