Tweak proof search metavariable update
Add "Can't solve goal" error message

This improves error reporting for arguments which are solved by tactics,
printing the proof search that failed rather than the specific part of
the search which went wrong.