Israel's top court halts dismissal of security chief