Distances are positive quantities and thus a point that minimizes the square of a distance will also be the point that minimizes the distance.