The government’s decision to increase prices as much as 40 percent spurred widespread demonstrations across the country.