KUALA LUMPUR, Malaysia — Indonesia, Malaysia agree to provide temporary shelter to migrants still stranded at sea.