The correct amount should still be calculated as if both blinds had the correct amount. This, of course, would depend on the condition that other players remain. i,e, (raising two all-in players is pointless). Your example: Blinds 500 & 1000...pot to the UTG player would be 3500.