Roy Moore to stand trial for gay marriage order