Cairn told to pay $520 million as profit share