Israel admits intelligence 'mistakes' in failing to predict Hamas attacks