A ruling late Sunday offered a possible reprieve for people who receive assistance from the program known as SNAP.