Refactor `Line#getDistanceAndClosestModel`
Refactor `Line#getDistanceAndClosestModel`

The previous version of this method was an insane mess of spaghetti code.
In particular the option to handle null values was redundant because it was set to true everywhere.

keithiopia/spotlight,keithiopia/spotlight,alphagov/spotlight,tijmenb/spotlight,tijmenb/spotlight,keithiopia/spotlight,alphagov/spotlight,tijmenb/spotlight,alphagov/spotlight