A federal judge has blocked the mass firings of employees at the Consumer Financial Protection Bureau.