In this passage, the 1841 British edition accidentally replaced the second instance of may with might. The following 1849 LDS edition restored the correct may. For other instances of mix-ups between may and might, see under Jacob 5:13.
Summary: Maintain the consistent use of may in Alma 20:24 (“that my brethren may be cast out of prison and also that Lamoni may retain his kingdom”).