Optimal Policy Generation for Partially Satisfiable Co-Safe LTL Specifications