When Ibn Sina was 22 years old, he lost his father. What dynasty began in December 1004