UN Gaza inquiry head resigns after Israeli objections