Optimal reduced order solution of the weakly coupled discrete Riccati equation