A small act of judicial courage at Guantanamo has exposed a much larger failure: a system built to avoid constitutional limits ultimately became trapped by its own rejection of first principles