A thug who choked his partner and pulled clumps of hair as he repeatedly slammed her head against a toilet has narrowly avoided jail.