Israel battles militants in Gaza's main cities, with civilians still stranded near front lines