RUBY: Fix link type attribute in removal_document

Item.removal_document does not correctly add the type attribute to links that are to be
removed which in turn means they would not be removed from the database