Mining in Latin America walks a tightrope.