DirectHBM: Removing unused app context entries