It is a major policy shift long sought by advocates who said cannabis should never have been treated like heroin by the federal government