AgnosticQ-learningwithFunctionApproximationin DeterministicSystems: Near-OptimalBoundson ApproximationErrorandSampleComplexity