A woman who denied violently killing another woman at her home has sensationally changed her plea midway through a murder trial.