It is vital to stay true to the bedrock of international law and "avoid any form of ethnic cleansing" in Gaza, UN Secretary-General Antonio Guterres warned on Wednesday.