Lode Runner does sound like the one.
You drill holes that fill in after a while.
If the bad guys fall into the hole and don't climb out in time, they are killed and respawn at the top of the screen.
I loved playing it on the Apple II.

Best version IMHO.
Scott