The Obama administration on Wednesday immersed itself in high-stakes diplomacy with the leaders of Afghanistan and Pakistan, seeking more cooperation against Taliban militants. At the outset, Secretary of State Hillary Rodham Clinton publicly apologized for a U.S. bombing strike that the Afghans said killed dozens of civilians.