Outgoing state Supreme Court Justice Michael Morgan delivered a 183-page ruling upholding a death penalty verdict, dissented in a case involving the castle doctrine, and joined Republican colleagues to uphold a mining quarry’s challenged environmental permit during his last day on the bench.