Directive applies to travelers from Thailand, Hong Kong, Macau and Singapore; Foreign Ministry frets over diplomatic fallout from stringent measures to prevent outbreak