President Trump’s nominee also distanced himself from his past partisan comments, and denied that he would carry out a campaign of retribution if he is confirmed.