Migrated function polytrim: src/polynomial.jl > src/utilities.jl