A condition requiring all unrecoverable waste from a treatment works in north Wales to be taken outside the county has been deleted following a ruling that it would increase the environmental impact of transportation.