ReplicatedPG: stop trimming when we run out of snaps!

Signed-off-by: Samuel Just <sam.just@inktank.com>