The drugmaker Mylan NV said Monday it would offer a generic version of the EpiPen, the company's second move in a week to contain public outrage over perceived price gouging.