Digital therapeutics struggled alone. Remepy and Merck KGaA are testing whether software works better when built into the drug itself.