A U.S.-China trade deal is "done," U.S. President Donald Trump said on Wednesday, hours after negotiators from Washington and Beijing agreed on a framework to get a fragile trade truce back on track and remove Chinese export restrictions on rare earth minerals and other critical industrial components.