Shutting huge copper project shows why miners worry about starting them