A Melbourne mother who admitted she killed her housemate has told a judge she was forced to do it by her abusive boyfriend.