Destroy the plant above a block when it's broken

Also a minor cleanup in `map.c`, so the macro to iterate over entities is used.