Labour frontbencher Sam Tarry sacked after appearing on picket line during rail strike