Pacific Rubiales to buy PetroMagdalena for $234M