Fixed erase case to trigger update events of remaining packages. Refs #2546

The RPM DB does not contain any info about erased packages because we
are in post-transaction hook.  Indeed we must read the headers from
the YUM transaction object.