SPARStwo: Prevent close start and goal states from throwing an exception

This prevents ``constructSolution()`` from throwing an exception:

```
    if (prev[goal] == goal)
        throw Exception(name_, "Could not find solution path");
```