Companies told to compensate families of the hundreds of children who were killed or badly injured by the medicine.