Israel demands UN chief resign over Hamas attack comments