Prosecutors allege a Border Police commander repeatedly beat a Palestinian detainee at a checkpoint before threatening an officer who witnessed the incident.