Partial fix #7708

It fixes partially issue #7708 http://hub.qgis.org/issues/7708

Fixes progress bar
Create a output similar 1.8.0

Union of layers inputA and inputB of dataset in union.zip produces similar result to 1.8.0