A White House social media account kept the error-laden post up for hours despite the president’s attempt to correct course.