Remove Linear.hashable_equation

Linear.equation is now always hashable (a tuple). This speeds up hashing even
more.