Lawyers on both sides said Gen. Efraín Ríos Montt’s entire trial would most likely have to be repeated before a new panel of judges after a court threw out his conviction.