Girl accused of Brianna Ghey murder ‘tried to kill her with overdose weeks before fatal stabbing’