A repeat domestic violence offender has been sentenced to life in prison over the stabbing death of his partner in Perth.