The Salisbury Trust reported a £6.2m surplus last year, new figures show, despite the NHS facing a significant deficit.