A builder who attempted to strangle the mother of his two children until her face “turned blue and his own hands were purple” has been jailed for 14 months.