A man who bought a block of knives from Asda before he stabbed his estranged wife to death has been jailed for life.