A man who beat his pregnant ex-partner to death jailed for 20 years