Allocate refund across payments | Airbnb Coding Question