Shadow attorney general quits Corbyn's justice team