These divestments are part of Shell's strategy of refocusing its onshore interests in Nigeria and in line with the Federal Government of Nigeria's aim of developing Nigerian companies in the country's upstream oil and gas business.
I don’t know whether Shell got good value for these assets, but I doubt they will regret leaving.