The deal includes protections designed to limit the market power and ensure the editorial independence of the media giant.