A stepdad has been jailed for life for shaking his partner's baby to death after flying into a rage while arguing with a previous ex-girlfriend.