US judge nixes suit that split Obama. gays