If they were validly baptized then they are Catholic. End of story. And despite whatever sins they may have committed, or errors they may have held, the blood they shed in Christ's name will be their salvation. For in this case they do not die outside the Church, but in it. If "Greater love than this no man hath, that a man lay down his life for his friends", then what shall we say of one who lays down his life for Christ? There are recorded instances of pagans, with the barest knowledge of the Catholic Faith, who were so moved by the martyrs that they laid down their lives for Christ, and by doing so came into His Church. And what of the Good Thief, St. Dismas?