NEW YORK (Reuters) - Allstate Corp (ALL.N), the largest publicly traded U.S. home and auto insurer, swung to a profit on Wednesday from a year ago loss, helped by lower catastrophe and investment losses.