The company said it had agreed with Philippe Dauman, Viacom’s chief executive, and George S. Abrams, a director, to pay their expenses.