To alleviate opiate misuse, scientists said they have developed and implanted tiny “nerve coolers” in rats that provided targeted, on-demand pain relief. The device may be used in humans within several years.