legal challenge to gay marriage bill