Those who are pushing for legal action against CIA agents may talk about "upholding the law" but they are doing no such thing. Neither the Constitution of the United States nor the Geneva Convention gives rights to terrorists who operate outside the law.
There was a time when everybody understood this. German soldiers who put on American military uniforms, in order to infiltrate American lines during the Battle of the Bulge were simply lined up against a wall and shot -- and nobody wrung their hands over it.
Read it all.