Workers at Network Rail and 14 train operators will now strike on 18 and 20 August, as well as 27 July.