BUG: Fix an issue in merging blocks where the resulting DataFrame had partially set _ref_locs (GH4403)