In July last year, Donald Trump began a campaign that he hoped would lock up his party's control in Congress.