Trump takes Sanders’ side in tiff with Warren over prospect of female U.S. president