A safer — and more effective — formulation of the most popular hair-loss treatment led to robust hair growth in a clinical trial.