An Indonesian tobacco company has agreed to pay the medical expenses of a man who lost six teeth when a cigarette mysteriously exploded in his mouth.