Apologies for the lack of clarity...
The motor from Metric is $9400 retail (9000 for a shop) .. $10,500 with my shop's markup.
17,000 was for aborted valve job & machine shop inspection (almost a grand), removal,crate & send to Metric.hoses, belts, plugs, distributor cap/rotor, coolant, trans fluid, water pump, bypass hose, thermostat, points, condenser.. & labor (3,400). He did not include rebuilding the fuel injection.
The other estimate is $18,000 includes all the above and fuel injection rebuild. (additional 1,500 to paint engine bay while the engine is out.)