Van Drew, a Democrat who became a Republican of the Republican Party, in Pelosi faces a narrow path to being mayor