The sealant used for gem-crusted ancient Maya teeth had medicinal properties that prevent tooth infections and decay, according to a new study.