Legislation would strip protections from workers who walk out in solidarity with other unions, preventing Histadrut from joining protests against judicial overhaul