The drone strike that killed the Iranian general is the legacy of two decades of secret legal opinions aimed at circumventing the U.S. assassination ban.