Blueprint Medicines Inc. is paying nearly half a million dollars to buy a San Diego-based cancer startup called Lengo Therapeutics.