Massachusetts Gov. Charlie Baker signs marijuana rewrite into law