Tesaro of Waltham, Mass., a tiny biotech now preparing for its initial public offering, just licensed a promising anti-cancer drug from Merck. The startup is attempting to repeat the success its top executives had turning Big Pharma’s castoffs into hits at MGI Pharma, which was bought by Eisai for $3.9 billion in 2008. The drug, known as niraparib or MK-4827, is a medicine that targets a mutation that can cause certain hard-to-treat breast and ovarian cancers. AstraZeneca, Abbott Laboratories and Pfizer are also developing similar medicines. The deal was disclosed in a filing with the Securities and Exchange Commission.