The settlement closes two legal actions by requiring market-value ad purchases from Allen’s networks