If the coolant wasn't frozen somewhere I'd look to the water pump first. If the impeller becomes loose on the shaft they work a little sometimes and not others.
Don't fool around with an overheating M20. The crack cylinder heads like to crack.