Judge says inmate deprived of speedy trial