Violent relaxation of galactic dark matter halos