President Trump and his allies are accusing the FBI of framing former national security adviser Michael Flynn — who twice pleaded guilty to lying about phone calls he had with the Russian ambassador to the United States — as part of the president’s campaign to tarnish the Russia investigation and settle scores against perceived enemies before the November election.