Chinese consulate attack ‘mastermind’ killed in Afghanistan