The Democratic Alliance cemented its position as the dominant power, but the Chega party, which has an anti-immigrant message, is seen as a powerful new force.