Man who allegedly tried to enter Alabama elementary school shot dead by police