Remove distances return argument

Created by: aprokop

Pros:

  • Sometimes it's convenient to have them

Cons:

  • Distances can be easily computed in post-processing
  • Code is complex as it has additional code branching
  • We have to do square roots during search to keep track of them