According to CS-25, the only relation to stall speed is that Vmc may not be greater than 1.13 Vsr. So that doesn’t explain it.
More likely is that the drag of the flaps is behind the CofG and so improves directional stability.
caveat that I realise I should be looking at the certification requirements at the time of design, but I doubt they would have removed such a fundamental constraint.