US President Donald Trump repeatedly threatened military action over Iran’s protest crackdown, which activists say may have killed hundreds.