Device to treat chronic pain allows some patients to come off opioids