Testifying in a confirmation hearing, Kash Patel, who is nominated to lead the F.B.I., also sought to allay fears about his fitness to serve.