Paul isn't talking about pagans, but other Christians who are baptizing their dead. I don't agree with your explanation of this Scripture. I think it was a valid practice at first, but later done away with.
Regards
If Baptism of the dead was a valid practice, then do you know why it was done away with? Was this an official Church practice at one time?