Prosecutors had said Steve Bannon, who served briefly in the first Trump administration, swindled donors of a "build the wall" campaign.