Supreme Court justices struggle with federal right to gay marriage