Rupert Murdoch’s family has reached a deal on control of his media empire after his death