Remove dubious static_cast.
It is now possible to iterate on all the paths of an SDD. Using Boost.Coroutine, it's an on-the-fly generation of paths.

Renamed count_paths to count_combinations to avoid confusion between these two different concepts.