Fix indentation in all_shortest_paths. Closes #841