British police arrested over 1,000 people who took part in anti-Muslim and anti-immigration protests after three children were stabbed to death during a dance class.