 Its vaunted ability to win elections and oust enemies came into question when several of its closest Congressional allies lost races last year. And in April, the N.R.A. failed to persuade Missouri voters to approve a pro-gun ballot referendum, despite spending $3.7 million.