Aaron's passing is recorded in the Torah because the whole Jewish world mourned his passing which was a very unique occurrence and therefore more than likely it was marked in the years following and therefore the Torah specifically told us the date of his passing