Former first minister Lord McConnell has insisted improving pass rates for Stem subjects is “of critical national importance” after new figures showed just two-fifths of Scotland’s S4 students gained a key qualification in maths in 2024.