Bill to legalize 'safe injection' sites heads to governor's desk