A man who stabbed his estranged wife to death at the shop where she worked has changed his plea and admitted her murder.