The measure, which advocates called a first step on the road to civil unions for homosexuals, passed on a surprisingly strong, bipartisan vote of 103 to 30 after it was expanded to include any unmarried couple, regardless of sexual orientation.