The SNP will work harder to solve the NHS’s problems if they fear the loss of large numbers of votes