The kids could’ve been left alive and the end result would’ve been the exact same. Killing the tyrannical parents was justified, slaughtering their children was not. The children had no political power and no place in the government at the time of death