Addleshaws trainee quits firm after becoming Labour MP