Discovery of eclipsing nature of LMC X-4