General Electric has agreed to spend $1.3 billion to purchase Wellstream Holdings, a British subsea pipeline manufacturer active in Brazil.