The bug
If a dispenser has a brush inside, it can brush an armadillo that is dying. Players can’t do it, only dispensers can. Dispensers can’t shear sheep that are dying. This issue was not introduced by the data-driving of dispenser behavior.
How to reproduce
Get a dispenser
Put a brush inside
Place a button next to it
Stand in front of it
Run
/summon armadillo ~ ~ ~ {Health:0}Quickly press the button
Expected result
The dispenser should fail
Observed result
It succeeds and an armadillo scute spawns
Can confirm.