Replaced a bad allocator CHECK with a TODO.
Removed an invalid CHECK in the allocator.
Updated the master to transform allocations.

Review: https://reviews.apache.org/r/29234