Use `break` instead of `next` in AD::Journey::Formatter#match_route

The array is sorted in descending order, so there is no point in
iterating further if we met a negative item - all the rest will be
negative too.
Merge pull request #15247 from DNNX/activesupport-formatter-refactoring

Use `break` instead of `next` in AD::Journey::Formatter#match_route