A "manipulative" man who split a woman’s head open and left her and her baby covered in blood has been jailed.