Keep in mind the OPs child ended the year with an A in the class. Kudos to the student for learning how to better study for the course.
I don’t think the first semester grade will hurt, even applying as a STEM major, since the student recovered to get an A as a year end grade.
FWIW some HS transcripts only show the final grade – your child can ask the HS guidance counselor.