Hillary Rodham Clinton strove to close the book on the worst episode of her tenure as secretary of state Thursday, battling Republican questions in a marathon hearing that grew contentious but revealed little new about the 2012 attacks in Benghazi, Libya. She firmly defended her record while seeking to avoid any mishap that might damage her presidential campaign.