Former U.S. Representative Matt Gaetz withdrew his name from consideration as U.S. president-elect Donald Trump's attorney general on Thursday, saying his confirmation was becoming a distraction.