Out of all characters in the manga right now Law is the most probable to die. Teach already jobbed Amazon Lily and he’s not gonna fuck up again, especially with how conveniently close these 2 events are. And for it to be someone as ruthless as Teach.
Law is fucked no matter how you look at it, nothing in the story is against him dying now. Instead, it would lead to further progress.
If Law dies he's gonna go out with a bang with a solid performance, I think for Teach to come out of this looking good he damn near needs to stomp Law. Law would be better off alone, right now he has himself and a bunch of liabilities to worry about, he's in a terrible position. BB has all the advantages in the world ontop of already being stronger, this would be very weird of Oda to not have BB win overwhelmingly.
Law is basically playing with house money. BB's ass is on the line here, I guess the only acceptable way BB can struggle here is if Law does actually die, it's an easier pill to swallow.
Law fans have to ask themselves, would they rather Law put up a great fight against an EOS opponent and die. Or get stomped out here but live. Both scenarios have their pros and cons.
The worst scenario for the story and for Teach imo would be for Law to put up a solid fight and live. In this scenario the only character that benefits is Law and Law alone.