Remove unused trim.cpp and trim.hpp since trim is now implemented in extend.cpp.