Similar Items: A Program Logic for Verifying Secure Routing Protocols