DNA-testing company 23andMe has signed a $300 million deal with a drug giant. Here’s how t