The government’s wealth manager hired lawyers to investigate its own procurement and spending after a whistleblower raised concerns over taxpayer value.