Singapore on Friday hanged a woman convicted of attempting to traffic an ounce of heroin, the first execution of a female prisoner in nearly two decades in what human rights groups decried as a “grim milestone” for the city state and its notoriously harsh anti-drug laws.