China says removal of Hong Kong lawmakers was 'right medicine'