A judge has gutted a defence and counterclaim filed by the biggest unitholder in investment fund Vale in a battle with a litigation funder and liquidators over agreements to join two class actions against S&P Capital, a fight that threatened to hold up one of the class actions.