Check to see if your glow plug is good or if it came loose. That could explain a sudden dying and loss of compression.
Let the engine cool off and check compression again. If it comes back up, then the engine is too worn and when it heats up it expands, compression goes away...time to bolt in the new one.