You go for the team kill. Mercy is probably going to die after she gets her rez off meaning that it's a 5v6 and you've used up her ult. If you kill the mercy it's a 5v6, but she still has her ult.