Normalize IPv6 addresses before comparing them.