ipset: implement delete API, improve parameter verification