Non-invasive digital etching of van der Waals semiconductors