Trump isn't running against Bill Clinton, he's running against Hillary. Trump is simply trying to draw attention away from his moral failings by pointing to Bill. His tactic manages to draw together two separate logical fallacies, the Red Herring and the Tu Quoque.