The moratorium is the first of its type to pass a legislative chamber, but about a dozen other states have pending proposals.