register-hooks: allow removing hooks

Same arguments, just include a --remove.