Fixed uninitialized shared pointer bug

It is required that the path pointer be initialized because in the constructor for PlannerSolution it calls ``path->lenght()`` here: https://github.com/ompl/ompl/blob/master/src/ompl/base/ProblemDefinition.h#L76