Removes a reference from the specified item.
eOk if successful or the appropriate error code otherwise.