Allocate options to the team. Fire the blackmailer.
It might be interesting to talk to the developers privately before firing Andrew to see if they're really on board with his plan. Maybe they can be convinced to stay. For example, the most senior one could be promoted into Andrew's position and be offered a raise.