The number of children affected by homelessness in South Lanarkshire has fallen significantly, a new report has revealed.