Precise in situ tuning of the critical current of a superconducting nanowire using high bias voltage pulses