New Zealand Rugby has reached a settlement with INEOS after suing the petrochemical company for ending its sponsorship agreement early.