HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case)