A judge ruling clears the way for Mick Mulvaney to remain interim head of the Consumer Financial Protection Bureau.