Action has been ordered by a coroner after the death of a two-year-old Lancashire girl, who died after the antibiotics she was prescribed were out of stock.