The temporary ban, which the Ministry of Commerce said would remain through the end of this year, follows North Korea’s launch of a ballistic missile into the Sea of Japan this month, in defiance of international sanctions.