US judge halts executions hours before lethal injection