State and local governments have struggled to determine who among the many workers who braved the raging coronavirus pandemic before vaccines became available should qualify for so-called hero pay: Should it go to a small pool of essential workers like nurses or be spread around to others, including grocery store workers?