Use transactions per company.

Reservations are first grouped by company and then all reservations in
each group are confirmed in separate transactions. This ensures strong
consistency within each single company.