Improve type of `clojure.core/class`.

`class` gives an accurate type for cases where its return value is
always a `Class` or always `nil`.