His campaign to hold Libya accountable for the attack on Pan Am Flight 103 resulted in a massive settlement—and a shift in attitudes toward terror-supporting states