U.S. Nears Deal to Free Enemy Combatant Hamdi