Qld killer stabbed boyfriend during a hug