A man who killed his partner by stabbing her 31 times before blowing up their home has been jailed for life with a minimum term of 23 years.