Hard-right shift delivers upset election win for Netanyahu