To fix a collapsed entrance that is an ore tile, simply paint terrain as grass then back to rock and it will clear the ore vein so you can tunnel in.
NOTE: Improved compass and tool tip mods will help you with corner height.
For the best results, I use 33 slope between top and bottom corners of the entrance tile (outside).
To create a flat mine entrance:
Method 1:
Method 2: