I had a similar problem, but at least in my case, it always stalled on the same mail message. Following the status displayed on "Messae Import" panel, I found that the problem was happening while processing a particular
directory, say, ~/Library/Mail/Mailboxes/foo/bar.mbx.
During importing...