To celebrate 10 years of Radar #5876646, I just updated it to confirm it’s still reproduceable on Mojave.
(“Ejecting a disk by way of AppleScript takes an agonizing eternity”)