Tyler officer had no choice but to shoot