assignment of right to indemnity