Foreign policy is painstakingly difficult, and if there is to be anything gained from the experience in Libya, it is how not to conduct world affairs.