Rupert Murdoch loses attempt to overhaul family trust in bitter legal dispute