South Korea to revise refugee law over 'terror record'