A judge has signed off on a $18.5 million settlement in a six-year-old shareholder class action against Deloitte over its audits of collapsed construction group Hastie, saying the amount might be “disappointing” to group members but reflected the risks of going to trial.