Consumer Financial Protection Bureau says change will strike $49bn in medical debt from credit reports.