San Diego DA, marijuana businessman agree to settlement in criminal case