Update all_shortest_paths.hpp

added if(!directed) in parallel_johnson() - correct for undirected graphs (without lose half paths)