The inspectorate says the struggle to recruit and retain maths specialists is a challenge for many schools