fix(realm): fix realm destroy api

API failed to destroy realms in new state,
fix the assumption that no recs were created if realm is in new state
Destroys all rec and realm properly.

Change-Id: I350957acfa1ba1446a3028e6c277625ca76486b0
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
1 file changed