Voting rights groups announced an agreement on a lawsuit that challenged multiple provisions of the state’s vote-by-mail laws.