A man detained by Israeli police near a flashpoint mosque compound in Jerusalem on Saturday grabbed an officer’s gun and fired it, prompting the unit to shoot him dead, the force said on Saturday, describing the incident as a terrorist attack. The incident at the Al Aqsa mosque compound, an icon of Palestinian nationalism, came at a high point of Muslim attendance for the holy month of Ramadan.