Fix VAT assignment rounding problems
Rounding problems led to non-balanced transactions. This change avoids
such a situation.
BUG: 383239
FIXED-IN: 5.0
CCMAIL: geebackhouse@gmail.com
(cherry picked from commit eb7e02dd0fc840fa44d5ad1d514060d9637468f7)