Software glitch let 3,200 US prison inmates out early