The head of a United Nations inquiry into the 50-day war in Gaza last summer has resigned after Israel accused him of a "conflict of interest", the UN said Tuesday.