Since there were some priests who were already consecrated, this implies that more priests consecrated themselves. Alternate translation: "until more of the priests could consecrate themselves" (See: [[rc://en/ta/man/translate/figs-explicit]])
There were enough Levites to do this work because they had been careful to consecrate themselves. This implies that the reason that there were not enough priests was because the priests were not careful to consecrate themselves.