Trump cleared of contempt in New York attorney general’s fraud investigation