Hm,
You could give the spawnpoints an instance variable "distanceToPlayer".
Then on death, do for each Spawnpoints, set instance variable to distance(player.x,player.y,spawnpoint.x,spawnpoint.y)
Then do a for each (ordered), set to ascending, with the evaluation set to the instance variable,
then stop at a random instance before you get to the 4th instance.