A judge has signed off on the confidential settlement of a shareholder class action brought against KPMG relating to the failed $830 million hostile takeover of mining firm Discovery Metals, despite objections that the settlement process was “unfair and unjust”.