The prime minister was scorned by residents for making an official visit to Doncaster, England, several days after floodwaters had ruined their homes and businesses.