During the second day of his confirmation hearing in the Senate this week, Robert F. Kennedy Jr. got into a tense exchange with Senator Tim Kaine over his past statements.