fixed bug in bidirectional algorithms which caused wrong paths when
a turn restriction is around the meeting point.