Non-independence parties make gains in New Caledonia polls