Refactor: tools: Rearrange cli_resource_delete_attribute()
for readability
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>