Nov 9 (Reuters) - MGIC Investment Corp will be able to continue selling mortgage insurance throughout the United States after the company agreed to pay $267.5 million to Freddie Mac to settle a dispute that threatened the insurer's future.