Mr. Gates 's most direct statements about Iraq came during exchanges with Senators Carl Levin , the Michigan Democrat who will take over as the panel 's chairman , and John McCain of Arizona , who will become the top-ranking Republican . ''