Discrepancy for convex bodies with isolated flat points