The PM has averted strikes which could have caused delays for thousands of commuters