Prison officer facing rape allegations freed following suspicions about his accuser