Soldier had reportedly faced disciplinary committee over sexual harassment of female officers, but convinced military to allow him to remain in service