Almost a million NHS appointments postponed during eight months of strike action