Progressives backed by Sanders, Ocasio-Cortez lose to moderates