40 he is to order that the contaminated stones be torn out and thrown into an unclean place outside the town.

Read Leviticus 14:40 Using Other Translations

Then the priest shall command that they take away the stones in which the plague is, and they shall cast them into an unclean place without the city:
then the priest shall command that they take out the stones in which is the disease and throw them into an unclean place outside the city.
the priest must order that the stones from those areas be removed. The contaminated material will then be taken outside the town to an area designated as ceremonially unclean.