Major averages surge as trade war fears ease