A teenager who stabbed a 15-year-old girl to death in a row over a teddy bear cried in the dock as he was jailed for at least 23 years.