Israeli PM's defiant UN speech alienated critics abroad but delighted his base as elections draw near.