Free End-Time Optimal Control Problem for Cancer Chemotherapy