Rex, ne ipse rem tam tristem iudicaret ac secundum iudicium supplicii auctor esset, concilio populi advocato, “Duumviros” inquit, “qui Horatio perduellionem iudicent, secundum legem facio.”
The king so that he would not himself judge on such a tragic matter, then established an additional? / secondary? [secundum?] court of punishment [supplicium, -i (n)] and, having called a meeting of the people, said: I create with approving legislation the Duumvirii who will judge the treason of Horatius’
Secundum is being used as a preposition here in both cases (“according to”/“in accordance with”). So in the second (pardon the pun!) instance it’s “I appoint a committee of two in accordance with the law”.
OK so here’s, I think, a better final translation of this paragraph.
Rex, ne ipse rem tam tristem iudicaret ac secundum iudicium [secundum iudicium = ex iudicio] supplicii auctor esset, concilio populi advocato, “Duumviros” inquit, “qui Horatio perduellionem iudicent, secundum legem facio.”
The king, lest he himself should judge in such a tragic case and, according to the law, be the author of the punishment, called together an assembly of the people; "I establish, according to the law, Duumviri, who may determine Horatius’ treason.