Under Abu Yusuf and Muhammad, what is the rule on the described consumption?

Khiyar al-Ayb: Defects, Remedies and Waiver