Update to new Hal state handling

The hal-rs library no longer requires explicit calls to
`to_hal_state()`.