Miami principal defends McKinney officer and gets fired