The court paved the way for the Justice Department to end its effective freeze on capital punishment next month.