The legalization of gay marriage in New York means some couples may have to walk down the aisle for the most practical of reasons: to hold onto their partners’ health insurance and other benefits.