A bad currency bet has caused Everest Capital, one of the largest private investors in emerging markets, to collapse.