Cairn gives in writing to indemnify Govt