I am not sure of all the reasons that went into this decision, but the liberal mindset plays a big part into it.
The liberals are nothing more than 60s hippies dressed in suits and ties. They still believe things like "what if there was a war and nobody came". You know, they believe if everybody just sat around the campfire, held hands and sang, all the world's problems would go away.
They have a humanistic mindset that believes man is really good and can solve all his problems without God. Very few even believe in God.
Obama believes he can convince the Muslims that we are nice folks just like them. He has apologized for our war-mongering, for trying to change their values, and all the many evils we are guilty of.
So, he is going to give them a nice public trial with lawyers. The U.S.A. will be exposed for the awful villians we are. The world will see that Obama is different from past American administrations. He is smart, he is peaceful, he knows how to bring everlasting peace to the world. He is going to fix evil America who has been exploiting these nice Muslims and other nice people of the world. He is not afraid to confess our great evil. He's going to change all that.
With Obama and his cronies in charge, these guys could very likely not only get off, we might have to pay them damages for falsely imprisoning them and violating their civil rights.