Migraine pills to be offered on NHS for first time in boost for 170,000 sufferers