Addition of tartaric acid to prevent delayed setting of oil-well cement containing retarder at high temperatures