Use for_each with boost::checked_deletor for this.

Change-Id: Iea8ef5138bc98e50a196cb38051a199b326c1405
Tuck this typedef inside struct scope where it's used.

Change-Id: I2e225fb7afc58f1763e2fc4b9155aafc0e487f34