The British police said the attack on Wednesday was being treated as terrorism, and they warned of rising antisemitic hate crimes.