Kentucky congressman Thomas Massie was defeated in his primary by a candidate endorsed by President Trump