Adjust paths and costs in Pathfinder.

Canonical version is here:

https://github.com/ripple/rippled/blob/faa6890950fb4d82186757425553635ce00a7718/src/ripple/module/app/paths/Pathfinder.cpp#L948