Trump’s pick to be UN ambassador faced a generally cordial panel of senators on the Foreign Relations Committee.