Budget leak error was ‘worst failure in OBR’s 15-year history’ - how it happened