repl_meta_data: Split replmd_make_deleted_child_dn() into a helper function