UN warns against poll boycott