Ports:
Bug ID : 1403364
If the port is getting removed cross check the vm object if it has no reference
to VMI, If so remov the VM object.

Change-Id: I2589211e4898032b830826b9e9b0a772a09bdfe1
Closes-Bug: #1403364
Merge "Ports: Bug ID : 1403364 If the port is getting removed cross check the vm object if it has no reference to VMI, If so remov the VM object."