The senior advocate on writing her memoir, women’s rights, and the challenges facing the judiciary