Huge losses on derivative trades at Geode Capital Management have forced the giant investment firm to close down its hedge-fund business.