When a link between a multi-homed host and the leaf node fails, the leaf node sends a AS-per-ES Withdraw message to all its remote peers. The remote peers then remove the advertising leaf node as a next hop for every MAC addresses associated with the failed link.
On a remote leaf, when there are no more advertisements for A-D route for an ES, then the leaf invalidates the MAC entries for that specific ES.