It is rare for Republicans, who have been critical of the bureau’s regulatory actions in the past, to praise the work of the consumer regulator.