Implement `hex opt remove`