The Ontario government says a legal battle involving the province, the late Rob Ford and his sister's ex-boyfriend has come to an end.