Fix unhelpful error message on Wikidata's Special:MergeItems page if items are already merged
This task is about Wikidata.
When trying to merge two items with Special:MergeItems that are already merged, it outputs an error like:
Failed to load item. Error: Unresolved redirect to Q123.. This is especially unhelpful if someone clicks on "Merge items" twice, thus they submit the form twice and the second merge attempt fails as the first one succeeds.
The special page should detect this case and output a more helpful error message, explaining that the item already is a redirect to that target.