From Linear Term Rewriting to Graph Rewriting With Preservation of Termination