LPS-40586 delete instance

Hi Mika,

seems that this source formatting:

https://github.com/liferay/liferay-portal/commit/19e25f1aa8cec971cc1fc0dedd2d5726ed58494a

caused this important issue.

After reverting it, seems to be deleting the instance properly.

Thanks!