A vicious sicko accused of beating his girlfriend and ripping off her clothes in front of his friends was able to walk on a technicality — all because of New York’s deeply flawed discovery laws. The domestic violence and sex abuse case’s senseless dismissal last week in Manhattan court came after prosecutors turned over more…