Donald Trump’s Cabinet nominees for key roles in the intelligence, foreign policy and law enforcement agencies all pledged to keep politics out of their offices amid concerns from Democrats that the president-elect will carry out his vows to go after his political enemies once in office.