Divorce and termination of registered partnership