Don't die on unparseable install plans.

Mark packages with unparseable install plans as failed, rather than dying.
Failure matches the response to packages with parseable, but unintelligible,
install plans. Further, improve the install plan parser by stripping cabal's
helpful remarks from the end of each line. (This relies on the fact that package
names cannot contain spaces!)