Currently, when I emerge --resume, the first ebuild is rebuilt from scratch. Instead, it seems like it could be improved to actually run the conceptual equivalent of "ebuild <pkg> merge" in a way that preserves whatever was already done. Potentially first checking that the ebuild is still the same, and that USE flags are unchanged.