Freddie Mac will pay $50 million to settle with SEC