hector_object_tracker: generalized min_distance_between_objects check for confirmed objects

This was introduced in 398274a777c6cba42ec3959086f368af18af7a3d.