Yah it will reduce your credit age because it won't be counted in calculating average history once you close that loan.
But this should not be the reason to not prepay your loan given that current interest rate. Anyhow now or couple of years down the line this will get close so my suggestion would be, Don't think about credit score much and complete your edu loan asap.