After resolving T85347, it is possible to merge items with sitelinks to the same site while one is redirect to the second. However, because of built-in check in the script, an error is always reported and the merge is rejected. So let's drop the check from the gadget and only use the API.
Sadly, it requires some API cleanup.