There is no solution to indefinite detention when the detainees are committed to indefinite war. Obama’s fantasies are twinned. He can no more wish the detention away than he can the war.If Obama believes the war on terror is over, then the Guantanamo prisoners of war should be repatriated. If they continue fighting, then he is wrong - the Long War isn't over.
Obama hesitates because he knows the released prisoners will keep fighting.