Suicide pact husband spared jail