Cleans up KnightsTourPlanner.