18.5HP is 3.5 HP less than 22HP no matter what kind of math you use. The important thing to note is that the HPs are produced at significantly different RPMs. If we assume the 22HP motor is measured at 3600RPM and the 18.5HP motor is measured at 1000 RPMS less, than we can do some figuring.
Torque = (HP * 5252)/ RPM
The 22HP motor at 3600 RPM should produce about 32 ft pounds of torque.
32.1 ft. pounds of torque = (22HP * 5252)/3600RPM
The 18.5HP motor at 1000 less RPMs, or about 2600 RPM should produce about 37 ft pounds of torque.
37.4 ft. pounds of torque = (18.5 * 5252)/2600RPM
The lower HP motor will produce more torque at those RPMs.
But if the 18.5HP engine produces that HP at 3026RPM, the torque is the same as the 22HP motor and if it produces it at something higher than 3026 RPM, it will have less torque than the 22HP motor.
So, you need to know at what RPM the motor produces it's rated HP to see if it actually has more torque. Or, just look up the torque rating of the engines and compare them.
Personally, for $1200 to $1700 dollars just for an engine I'd just buy a brand new lawn tractor and not hassle with an engine swap, pulley changes, possible radiator if it is water cooled, replacing the front axle to handle the extra weight, etc... If however, you already had a diesel engine to use and you just plain enjoy making stuff, then go for it.
