Same-sex partnership change highlights need to overhaul marriage law