You started with a .img file (i.e. a RAW image).
Then you converted it to (static) VHD.
This process simply appends one sector (the so-called CONECTIX sector) to the image.
The you mounted the VHD image and (via MiniTools partition manager) you resized the volume inside it.
Now you have a VHD image that has a MBR and a smaller partition + unpartitioned space.
Now what you need to do is:
1) inspect the VHD file MBR partition table and find out the last LBA sector used by that partition
2) unmount the VHD file (it depends on what tools you use for inspecting the MBR, you could also unmount the image first and then inspect the MBR offline)
3) truncate the image to the size calculated
4) by doing this, you will also truncate away the sectoir added at the end of the file by the conversion to VHD, so what will remain will be a smaller .img (RAW) file
What tools to use for #3 will depend on what you are familiar with, personally I would use Tiny Hexer (with - shameless plug - my MBR Structure Viewer):
and fsz (part of the dsfok toolkit):
But you can use any tool capable of showing the values in the MBR partition table and any tool capable to copy parts of a file, like dd for windows or, if you prefer a GUI tool partcopy, this approach is sager as you will copy the file to a new one, so - in case of a mistake - you still have the original file.
Maybe even simplier, you can use grub4dos.
Try mapping your current MRBEFI.img and MRBEFI.vhd, grub4dos will say nothing about MRBEFI.img but show a Warning about size of the image for MRBEFI.vhd similar to this:
which is "normal" as the .vhd has an added sector at the end.
Now try mapping the MRBEFI-1.vhd, grub4dos will show a warning for much larger number of excess sectors.
So you directly know the size as seen in the MBR and the number of excess sectors without needing to calculate them from the MBR partition table.
Hope the above is clear/fetailed enough, if you need further help or have doubts, just ask.
 in a partition table you will have in the LBA values, two values, "Sectors Before" and "Number of sectors", since you have a single partition, the sum of the two will give you the number of sectors, that, multiplied by 512 will give you the exact size to truncate.
P.S.: @antonino61 I doubt that the free version of hdclone can do that, very likely one of the commercial licenses are needed:
please post a link to the VHD resizer you have in mind, I remember one that used to be at VMToolkit and that is now available here:
In any case it has to be confirmed that these tools have the sector or byte accuracy that is advisable for grub4dos mounting without the warning (or with the warning only relative to the affixed VHD footer/CONECTIX sector)