Judge lets lawyer drop death penalty case