India Supreme Court ruling highlights yearslong pretrial detention system