Goldman Sachs vindicated but bruised in court battle with Libyan fund