Bugfix: Take HR deductions from the leave entries
Description
A negative adjustment by HR lowered the balance but took nothing from the entries usage takes, so leave could still be booked against days HR had removed. A deduction now takes from the entries in the usual order, as far as they reach; the rest takes the balance below zero as before.
Impact
Balances of employees with negative adjustments are checked correctly for new leave.