Libya’s coastguard has stopped nearly 400 migrants attempting to cross the Mediterranean in five boats in the past two days, the United Nations migration agency said on Monday.