A mother has been confined to a secure mental health facility indefinitely for stabbing her own 10-year-old daughter to death at home in Rowley Regis.