However, upon an indictment charging a person with the murder of any person, or with unlawfully killing any person, if upon the evidence it appears that the person alleged to have been killed was a child of which a female had recently been delivered, the accused person may be convicted of an offence defined in section 313 or 314 , if any offence under either of those sections is established by the evidence.