Three dead in attack and Islamist protests in Egypt