Gaetz, a Florida lawmaker who has been under federal investigation, has been a staunch Trump ally on Capitol Hill.