uci: tighten uci delete operation error handling