Former Republican senator repeatedly clashed with the president over Russian election interference and North Korea.