Bill to stop workers from legal strike action