Update igraph_get_shortest_paths