Legal disputes leave Khalid Sheikh Mohammed in limbo as the population dwindles at Guantanamo Bay