Uvalde officer had opportunity to shoot school gunman before he entered the school, but feared hitting children