Refactor: controller: Better error checks in controld_delete_node_state
Assert if cib == NULL. This is an internal programming error and we have
bigger problems. Likewise assert instead of check if uname == NULL; we
should be catching that before calling this function.
Add a trivial default case to the switch statement.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>