First, make sure that the redstone torch is in the turtle's very first inventory slot.
Also, just so you know, as long as the turtle doesn't have to move it will never run out of fuel. :D
Try this:
while true do
turtle.select(1)
turtle.place()
turtle.sleep(500)
turtle.dig()...