btrfs: Fix and enhance merge_extent_mapping() to insert best fitted extent map