Refusing to organization politics around the preferences of political parties is NOT "doing away" with political parties and therefore is eminently constitutional. 

Indeed, what would one calls Nebraska's legislature, which is not organized at all on a party basis?