‘Horrifying’ failings in Treasury’s contracting process, probe shows