A primary school has agreed to reduce its reception class intake in September because pupil numbers in the area are falling.