A PC (character A) in our game used *Drunken Monkey* on an enemy (character B). It hit and did the following:

>Hit: 1d8 + Dexterity modifier damage, and you slide the target 1 square. The target then makes a melee basic attack as a free action against one enemy of your choice. The target gains a bonus to the attack roll equal to your Wisdom modifier.

The damage is enough to reduce the B's health below 0.

B has a power that enables the following:

>B may take a standard action as a free action before death.

It used this to attack A who killed it.

Does B still make a melee basic attack against another enemy of A's choice as per the description of Drunken Monkey?

As a bonus, does the B's action before death occur before or after the slide?