compare-endpoint-lists: Return nil when there is no diff
Import endpoints: Extract comparison to diff-endpoints