I theorize that Michael, as a ghost, appeared to Walt (perhaps for a limited time) and told him that he died. This is similar to how Jack saw Christian in the hospital. Michael told Walt that he is stuck on the Island for what he did. Maybe this is what finally put Walt in the "nut-house". Do you guys like it?