Islamic State took responsibility for the blast in Pakistan