Morocco’s king names new ministers, Islamists lose ground