The government has plugged a loophole that allowed the import of plastic waste into India for processing.