One of the biggest nickel smelters in Indonesia has slashed production and is close to shutting down completely, just months after the collapse of its Chinese parent company.