Rename trim_blocks to trim_hamlike.