SFO faces £10m legal bill on collapsed pharma investigation