Legalizing sex work would slash HIV toll – study