Add `:last-of-type` support and merge `:last/first-of-type` together.