Add FailedToResolveTask funciton to task

When task resolution fails, allow the stager to move the task back to
the completed state so resolution can be retried.

[#80217622]

Signed-off-by: Amit Gupta <agupta@pivotal.io>