Remove workflow step validity check (to support rollbacks)

Refactor workflow API to avoid hard-coding first step logic.