NHS Scotland to fund 'promiscuity safety net' drug