The man accused of handcuffing and raping a woman at her Baltimore apartment days before police said he beat and killed Pava LaPere, a 26-year-old tech entrepreneur, had been released early from prison, despite having a violent past that included a conviction for a sex offense.