The country is also grappling with a power crisis that has hurt growth, temporarily shut down mining operations and threatened its remaining investment-grade rating.