That U.N. force was created in 1978 to confirm Israel 's withdrawal from Lebanon , after Israeli troops invaded the country in search of Palestinian militants .