nir: Add addition/multiplication identities of exp/log.