The president called the devastating toll a “very sad milestone” as he prepared to announce an executive order against social media companies.