Update the deallocate_for_instance method to icehouse version

Change-Id: I7a4de6c8778723b39021f376a853616b0513fb35
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>