Washington Legislature passes budget proposal after all-nighter