Update all_shortest_paths.hpp

+min_of_weights for ParallelFloyd (if infinity == -1 => std::min doesn't work correct)