Manufacturing systems with a production dependent failure rate: structure of optimality