Ruth Bader Ginsburg suggested that torture should not be used even when it might yield important information and reflected on her role as the Supreme Court’s only female justice.