Pharma stocks surge 10% YTD as sector emerges as safe haven