Formally Verified Approximate Policy Iteration