Fix bugs in RMERGE_T

With the help of ‘BTD’, merging is more efficient. But I still have to
compute relational distance to update sorted Rum list.