Congress reaches $1.59 trillion spending deal