In an e-mailed statement, the White House weighed in on former defense secretary Robert Gates's judgments about President Obama’s leadership and his commitment to the Afghanistan war, as well as his harsh criticism of Vice President Biden, both contained in Gates's new memoir, “Duty: Memoirs of a Secretary at War.