Surrey County Council social services closed an investigation into injuries on Sara Sharif six days after getting a referral from the 10-year-old’s school, an Old Bailey jury has been told.