Unpicking the failures that led to a £234m loss at Wait