Woman given jail for killing violent partner