Fixed ModelBasedPlanningContext::clear() which was beyond intended scope

The ModelBasedPlanningContext::clear() functions is expected to plan the inherent planner's data structure but instead cleared the whole context, causing segfaults in benchmarking.