The United Nations has blamed the Israeli military for striking one of its premises in Gaza, which led to the death of one its employees.