By nature VDIM should be better in all handing and braking aspects regardless of AWD or RWD. Think about it... AWD vs RWD only comes into play when there is throttle involved. With steering and braking you still have 4 tires, 2 wheel steering, and 4-wheel braking regardless. Except with VDIM you have a better management system.
Now with accelerating I'm pretty the AWD should win regardless... even with the smartest computer management system in the world in a RWD car. 4 wheel drive is hard to be taken down by 2WD unless the 4WD has no traction control at all and a dumb driver behind the wheel.