Ghana is withdrawing a directive requiring Eni SpA to merge its offshore oil field with a discovery made by a local producer, potentially settling a five-year standoff.