The top enforcement official at the Consumer Financial Protection Bureau on Monday expressed regret for “poor conduct” regarding past racial remarks he made on a blog more than a decade ago, saying he was “absolutely committed to carrying out the bureau’s fair lending mandate.”