The Israeli PM cited Shin Bet's failure to anticipate the 7 October attack - but the move has sparked outrage and protests.