State officials would have to make electronic state benefits cards unusable at liquor stores, gambling establishments and strip clubs under a bill that passed the House easily on Thursday, but over the objections of Democrats who said it was a political posturing bill that capitalizes on a stereotype about the poor.