NBC: Doctor agrees to plead guilty in Matthew Perry's overdose death