The pitches always sounded promising: A new software app could track glucose levels for people with diabetes or soothe the brains of insomniacs. Most pharma executives would politely smile and nod, but then park their money somewhere else. Not anymore. Backed by a growing body of evidence, software is itself becoming a prescription for diseases ranging…