In my view, the following are the available alternatives
1. You may have to issue a letter to to your foreign buyer authorizing him to destroy the material
lying with him since it is not viable for your to bring back ; and
2. To export fresh consignment on free of cost against GR waiver without claiming any export
The above is presuming that you have already received the payment for the defective consignment.