Turkey’s government blamed Islamic State for the suicide bombing that has killed at least 31 people as protests against the attack turned violent