In her memoir, the senior Congress party leader revisits the years of hesitation and personal conflict before duty finally prevailed