Use the ORM in zpool replace disk instead of raw sqlite

This ensures the values are accessible within a transaction.