Murder and suicide under compulsion are addressed by India's criminal penal code.
He did not offer himself under compulsion, but spontaneously, because he desired the redemption of sinners.