Change bellman_ford to use the FIFO variant

This should provide an improvement over vanilla Bellman–Ford in most cases.