Gay marriage bill fails in Congress, gays seek civil unions in court