A divided Massachusetts Supreme Judicial Court ruled Tuesday that same-sex couples have a right to civil marriages under the nation's oldest state constitution, declaring that "the right to marry means little if it does not include the right to marry the person of one's choice."