In a career studded with literary awards, he was the author of dozens of books that grappled with his nation’s legacy of dictatorship and colonialism.