Electrical resistivity near Pomeranchuk instability in two dimensions