After lengthy negotiations , the creditors agreed to exchange about $ 4 billion in debt for shares in the new company .