Policy iteration for discrete-time systems with discounted costs: stability and near-optimality guarantees | Synapse