Solution seems straight-forward to me: if you park at an empty rack, or if you take a bike from a full rack your trip is free (if you are casual user) or you get small amount of credit (50p?) if you are a subscription user.
My experience with cyclehire though is they always choose the most complicated path. As an example they way over engineer their authentication. Besides a password you have to answer several security questions. Feels so disproportionate.
Regarding complication of hiring Boris Bikes, note that if you want to do a one-time (without an existing account) hire of two bikes, you need to insert and remove your credit card 4 or 5 times, and will get two or three pieces of paper out! The UX is just insane.
According to [1] they have a fleet of 14 electric vans (pulling trailers of 20 bikes), 10 diesel cars (pulling the same trailers), 7 sprinter vans (16 bikes) and 3 DAF 7.5 tonne trucks (50 bikes each). But that fleet is to deal with peak demand, such as during tube strikes.
[1] http://www.bbc.co.uk/blogs/mindthegap/2011/01/moving_hire_bi...
I agree with others here: desolate stations could be refilled via economic incentives for riders.