src: Assign 0 cost to hyperbolic direct neighbors

refs: #1975

Change-Id: I4349a7935d1defca4772c0b4bf806a4dd12a8e50