Avondale police: Officers shoot machete-wielding man