The comment drew rebukes from his Republican challenger for the presidential nomination, civil rights activists, and others.