Ignore time to destination when giving way (#6296)
It is an alternative to !1233 (closed) with an additional minor refactoring.
I think the code becomes a bit simpler if instead of using a separate variable timeToDestination
we just modify the value of maxTimeToCheck
.