Jeff Flake: Republican senator quits with attack on Trump