Amid tensions with allies abroad, Netanyahu shoring up power at home