This is very much still a statutory protection. Absences relating to pregnancy should be recorded separately and shouldn't count towards any reviews or triggers in an absence policy.
If you are subscribed to xpert HR, they have a very good outline of this -