An emergency warning is downgraded for an out-of-control bushfire after it threatened lives and homes in Byford and Karrakup, as Perth continues to swelter through a severe heatwave.