Normalize loopback IP addresses to avoid spurious validation errors.