Freeport to buy Apache assets in Gulf of Mexico