Leave metavariables for unfinished proofs

If the maximum search depth is reached, the proof so far may still
be useful.