Out-of-court deal in UKIP row