China passes a sweeping anti-terror law giving its government controversial new powers