Fix rounding bug with pre-tax product % coupon

Same as #4602 only for master branch (i.e. 2.1).