The minimum distance of sets of points and the minimum socle degree