The girl was taken to a hospital where the duty doctor confirmed sexual assault and told police that she was five months pregnant