Distributionally Robust Removal of Malicious Nodes from Networks