Shadow minister denies Labour seeking to ‘purge’ leftwingers