This explains it pretty well: http://www.spotrac.com/nfl/buffalo-bills/marcell-dareus-7718/
Dead money is attributed to up front bonus. That's the number that hits the cap should we trade or cut him.
Notice how its higher than his salary for next year, and its his full salary in 2018? Thats why we basically can't cut him or trade him.