make sure the total installation progress is always 100% (bnc#865585)

adjust the rounding issues when computing the subprogress percentages

- 3.1.77