Teva inks deal to sell generic Avandia