Security forces struggle to prevent periodic assaults by Sunni terror group while authorities strive to prevent violence boiling into conflict between Sunni and Shiite communities