Public spending watchdog says the Bank of England’s core system replacement project offers lessons to other government departments.