Extract `Ast::StepResult`

BREAKING CHANGE

Formatter API changed for `before_step_result` and `after_step_result`, now
expects an Ast::StepResult.