Police and social services missed a number of chances to help 13-year-old Lucy McHugh in the moths before she was murdered, says a report.