Massachusetts man pleads guilty to giving dog fentanyl and stabbing it to death