GOP lawsuits about an obscure immigration database may set up election challenges