If you want to undo a check in, you can only delete the document version created by the check in.
Since a check in to the repository does not necessarily create a new document version (see Document Versions), such a deletion may not always be possible.