Modernize cli/delete_from_user_table.c

Heavily inspired in:
https://fossil.etoilebsd.net/cblog/artifact/56cca46feeef7abb86ad94043af8995cbb36793e
cli/cblogctl.c:cblogctl_del().

Signed-off-by: Thiago Farina <tfarina@chromium.org>