The Israeli leader’s warning came after Hamas said it would indefinitely postpone the next round of hostage releases.