At least 11 defendants stayed in jail cells longer than the law allows, in what former prosecutors and criminal lawyers see as a violation of their constitutional rights.