The method I use in the Mavericks VM is similar to tracywang's method but more direct.
With the Mavericks VM running, paste:
sudo /Library/Application\ Support/VMware\ Tools/vmware-tools-cli disk shrink /
directly into Terminal in the Mavericks VM and enter your password when requested. I have that command saved in a TextEdit file in the Mavericks VM so I can simply copy it as necessary.