A bushfire that has destroyed 86 homes north-east of Perth has been downgraded to a Watch and Act as emergency services battled to contain the blaze overnight.