The former prime minister, who died this week, brought dramatic changes, good and bad, to the country’s economy with the pact.