Ministers move to save cash machines as Chancellor vows to protect 3,500 ATMs after millions faced losing access to their own money