Fix rounding bug with pre-tax product % coupon

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